package cn.com.hhrcw.base.data.params;

import cn.com.hhrcw.base.BaseParams;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @Description:
 * @Author: lixingxing
 * @Date: 2020-10-22
 * @Version: V1.0
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class BlockParams extends BaseParams implements Serializable {

    /**
     *
     */
    private String id;

    /**
     * 父id
     */
    private String parentId;

    /**
     * 区块名称
     */
    @NotBlank(message = "区块名称必填")
    private String name;

    /**
     * 区块类型
     */
    private String type;

    /**
     * 区块编码
     */
    private String code;

    /**
     * 排序
     */
    private Integer sequence;
}
